package com.fqgj.xjd.user.client;

import com.fqgj.common.api.Response;
import com.fqgj.xjd.user.client.request.UserIntegralAddRequest;
import com.fqgj.xjd.user.client.response.UserIntegralInfo;

/**
 * @Author: 赵洋～
 * @Description: 用户积分相关信息
 * @Date: Create in 15:04 2019-06-21
 */
public interface UserIntegralService {

    /**
     * 获取用户的积分相关的信息
     *
     * @param userCode
     * @return
     */
    Response<UserIntegralInfo> getUserIntegralInfoByUserCode(String userCode);

    /**
     * 添加或更新用户积分
     *
     * @param userIntegralAddRequest
     * @return
     */
    Response<Boolean> addOrUpdateIntegral(UserIntegralAddRequest userIntegralAddRequest);
}
